package net.maku.system.erp.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import net.maku.framework.common.utils.DateUtils;

import java.io.Serializable;
import java.util.Date;

/**
* 计量单位管理表
*
* @author 王宝林 baolin.wang@aliyun.com
* @since 1.0.0 2024-03-19
*/
@Data
@Schema(description = "计量单位管理表")
public class SysMeasureUnitVO implements Serializable {
	private static final long serialVersionUID = 1L;

	private Integer id;

	@Schema(description = "计量单位名称")
	private String name;

	@Schema(description = "计量单位代码")
	private String code;

	@Schema(description = "计量单位大类")
	private String unitGroup;

	@Schema(description = "描述")
	private String description;

	@Schema(description = "创建者ID")
	private Integer createdBy;

	@Schema(description = "创建时间")
	@JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
	private Date createdAt;

	@Schema(description = "更新时间")
	@JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
	private Date updatedAt;


}